//package com.qianmi.cloud.support;
//
//import com.qianmi.cloud.api.RouteQueryProvider;
//import com.qianmi.cloud.respone.SysRouteResponse;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.boot.CommandLineRunner;
//import org.springframework.data.redis.core.RedisTemplate;
//import org.springframework.stereotype.Component;
//
//import java.util.List;
//
///**
// * @Description
// * @Date 2022-02-10 15:50
// * @Created by xiaocai
// */
//@Component
//public class DynamicRouteInitRunner implements CommandLineRunner {
//    @Autowired
//    private RedisTemplate redisTemplate;
//    @Autowired
//    private RouteQueryProvider routeQueryProvider;
//
//    @Override
//    public void run(String... args) throws Exception {
//        List<SysRouteResponse> sysRouteResponses = routeQueryProvider.findAllRoute();
//
//    }
//}
